import request from '@/utils/request'

// 查询信息登记列表
export function listInformationRegister(query) {
  return request({
    url: '/basicInformation/informationRegister/list',
    method: 'get',
    params: query
  })
}

// 查询信息登记详细
export function getInformationRegister(id) {
  return request({
    url: '/basicInformation/informationRegister/' + id,
    method: 'get'
  })
}

// 新增信息登记
export function addInformationRegister(data) {
  return request({
    url: '/basicInformation/informationRegister',
    method: 'post',
    data: data
  })
}

// 修改信息登记
export function updateInformationRegister(data) {
  return request({
    url: '/basicInformation/informationRegister',
    method: 'put',
    data: data
  })
}

// 删除信息登记
export function delInformationRegister(id) {
  return request({
    url: '/basicInformation/informationRegister/' + id,
    method: 'delete'
  })
}

// 导出信息登记
export function exportInformationRegister(query) {
  return request({
    url: '/basicInformation/informationRegister/export',
    method: 'get',
    params: query
  })
}